package cn.stylefeng.guns.modular.pateint_health_manager.service.impl;

import cn.stylefeng.guns.modular.system.model.PatientHealth;
import cn.stylefeng.guns.modular.system.dao.PatientHealthMapper;
import cn.stylefeng.guns.modular.pateint_health_manager.service.IPatientHealthService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zxx
 *
 */
@Service
public class PatientHealthServiceImpl extends ServiceImpl<PatientHealthMapper, PatientHealth> implements IPatientHealthService {

    @Resource
    PatientHealthMapper patientHealthMapper;
    @Override
    public Object findByCardId(String cardid) {
        return patientHealthMapper.findByCardId(cardid);
    }

    @Override
    public Object findByName(String name) {
        return patientHealthMapper.findByName(name);
    }
}
